package dinner.web.money;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;

public class TableLine implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1304533933033617153L;
	private String name;
	private Double money;
	private Date date;

	public TableLine() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public TableLine(String name, Double money, Date date) {
		super();
		this.name = name;
		this.money = money;
		this.date = date;
	}

	public TableLine(String name, Double money, Calendar date) {
		super();
		this.name = name;
		this.money = money;
		this.date = date.getTime();
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getDate() {
		return date;
	}

}
